
#include "at32f4xx.h"
#include "timer14.h"
#include "ws2812b.h"
#include "esp32.h"
#include "timer_master_slave.h"
RCC_ClockType RCC_Clock;
int i = 0;
uint8_t flag_10ms;
uint8_t flag_40ms;
uint8_t flag_1s;



int main(void)
{
	RCC_GetClocksFreq(&RCC_Clock);
	NVIC_PriorityGroupConfig(NVIC_PriorityGroup_0);
	TIMER14_Init();
	timer1_timer3_init();
	while (1)
	{	
		if(flag_10ms)
		{
			flag_10ms = 0;

		}
		if(flag_40ms)
		{
			flag_40ms = 0;
			
		}
		if(flag_1s)
		{
			flag_1s = 0;

		}
	}	
}

